package com.ll.app.api.jj;

import com.ll.app.api.jj.enums.JJRoleEnum;
import com.ll.base.enums.SexEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class JJUserDTO {
    @NotNull(message = "dingTalkUserId 不能为null")
    @ApiModelProperty(value = "钉钉用户id", example = "123456")
    private String dingUid;

    @NotNull(message = "dingTalkUserId 不能为null")
    @ApiModelProperty(value = "名称", example = "123456")
    private String name;

    @NotNull(message = "dingTalkUserId 不能为null")
    @ApiModelProperty(value = "职位", example = "管理员")
    private JJRoleEnum role;

    @ApiModelProperty(value = "职位", example = "下标")
    private Integer roleIndex;
}
